

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>bimpy.themes &mdash; bimpy  documentation</title>
  

  
  
  
  

  
  <script type="text/javascript" src="../../_static/js/modernizr.min.js"></script>
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
        <script src="../../_static/jquery.js"></script>
        <script src="../../_static/underscore.js"></script>
        <script src="../../_static/doctools.js"></script>
        <script src="../../_static/language_data.js"></script>
    
    <script type="text/javascript" src="../../_static/js/theme.js"></script>

    

  
  <link rel="stylesheet" href="../../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    <link rel="index" title="Index" href="../../genindex.html" />
    <link rel="search" title="Search" href="../../search.html" /> 
</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search" >
          

          
            <a href="../../index.html" class="icon icon-home"> bimpy
          

          
          </a>

          
            
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <p class="caption"><span class="caption-text">First steps</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../bimpy.html">bimpy - References</a></li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../index.html">bimpy</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../../index.html">Docs</a> &raquo;</li>
        
          <li><a href="../index.html">Module code</a> &raquo;</li>
        
      <li>bimpy.themes</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <h1>Source code for bimpy.themes</h1><div class="highlight"><pre>
<span></span><span class="kn">import</span> <span class="nn">bimpy</span>

<div class="viewcode-block" id="set_light_theme"><a class="viewcode-back" href="../../bimpy.html#bimpy.themes.set_light_theme">[docs]</a><span class="k">def</span> <span class="nf">set_light_theme</span><span class="p">():</span>
    <span class="sd">&quot;&quot;&quot; light style from Pacome Danhiez (user itamago) https://github.com/ocornut/imgui/pull/511#issuecomment-175719267 &quot;&quot;&quot;</span>

    <span class="n">style</span> <span class="o">=</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">get_style</span><span class="p">()</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">Text</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.00</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">TextDisabled</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.60</span><span class="p">,</span> <span class="mf">0.60</span><span class="p">,</span> <span class="mf">0.60</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">WindowBg</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.94</span><span class="p">,</span> <span class="mf">0.94</span><span class="p">,</span> <span class="mf">0.94</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ChildWindowBg</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.00</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">Border</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.00</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">,</span> <span class="mf">0.39</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">BorderShadow</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">,</span> <span class="mf">0.10</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">FrameBg</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">FrameBgHovered</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.40</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">FrameBgActive</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.67</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">TitleBg</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.96</span><span class="p">,</span> <span class="mf">0.96</span><span class="p">,</span> <span class="mf">0.96</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">TitleBgCollapsed</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">,</span> <span class="mf">0.51</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">TitleBgActive</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.82</span><span class="p">,</span> <span class="mf">0.82</span><span class="p">,</span> <span class="mf">0.82</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">MenuBarBg</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.86</span><span class="p">,</span> <span class="mf">0.86</span><span class="p">,</span> <span class="mf">0.86</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ScrollbarBg</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.53</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ScrollbarGrab</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.69</span><span class="p">,</span> <span class="mf">0.69</span><span class="p">,</span> <span class="mf">0.69</span><span class="p">,</span> <span class="mf">0.80</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ScrollbarGrabHovered</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.49</span><span class="p">,</span> <span class="mf">0.49</span><span class="p">,</span> <span class="mf">0.49</span><span class="p">,</span> <span class="mf">0.80</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ScrollbarGrabActive</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.49</span><span class="p">,</span> <span class="mf">0.49</span><span class="p">,</span> <span class="mf">0.49</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="c1"># style.set_color(bimpy.Colors.ComboBg, bimpy.Vec4(0.86, 0.86, 0.86, 0.99))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">CheckMark</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">SliderGrab</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.78</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">SliderGrabActive</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">Button</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.40</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ButtonHovered</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ButtonActive</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.06</span><span class="p">,</span> <span class="mf">0.53</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">Header</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.31</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">HeaderHovered</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.80</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">HeaderActive</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">Column</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.39</span><span class="p">,</span> <span class="mf">0.39</span><span class="p">,</span> <span class="mf">0.39</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ColumnHovered</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.78</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ColumnActive</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ResizeGrip</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.50</span><span class="p">,</span> <span class="mf">0.50</span><span class="p">,</span> <span class="mf">0.50</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ResizeGripHovered</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.67</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ResizeGripActive</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.95</span><span class="p">))</span>
    <span class="c1"># style.set_color(bimpy.Colors.CloseButton, bimpy.Vec4(0.59, 0.59, 0.59, 0.50))</span>
    <span class="c1"># style.set_color(bimpy.Colors.CloseButtonHovered, bimpy.Vec4(0.98, 0.39, 0.36, 1.00))</span>
    <span class="c1"># style.set_color(bimpy.Colors.CloseButtonActive, bimpy.Vec4(0.98, 0.39, 0.36, 1.00))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">PlotLines</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.39</span><span class="p">,</span> <span class="mf">0.39</span><span class="p">,</span> <span class="mf">0.39</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">PlotLinesHovered</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">1.00</span><span class="p">,</span> <span class="mf">0.43</span><span class="p">,</span> <span class="mf">0.35</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">PlotHistogram</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.90</span><span class="p">,</span> <span class="mf">0.70</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">PlotHistogramHovered</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">1.00</span><span class="p">,</span> <span class="mf">0.60</span><span class="p">,</span> <span class="mf">0.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">TextSelectedBg</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.26</span><span class="p">,</span> <span class="mf">0.59</span><span class="p">,</span> <span class="mf">0.98</span><span class="p">,</span> <span class="mf">0.35</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">PopupBg</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">,</span> <span class="mf">1.00</span><span class="p">,</span> <span class="mf">0.94</span><span class="p">))</span>
    <span class="n">style</span><span class="o">.</span><span class="n">set_color</span><span class="p">(</span><span class="n">bimpy</span><span class="o">.</span><span class="n">Colors</span><span class="o">.</span><span class="n">ModalWindowDarkening</span><span class="p">,</span> <span class="n">bimpy</span><span class="o">.</span><span class="n">Vec4</span><span class="p">(</span><span class="mf">0.20</span><span class="p">,</span> <span class="mf">0.20</span><span class="p">,</span> <span class="mf">0.20</span><span class="p">,</span> <span class="mf">0.35</span><span class="p">))</span>
    <span class="n">bimpy</span><span class="o">.</span><span class="n">set_style</span><span class="p">(</span><span class="n">style</span><span class="p">)</span></div>
</pre></div>

           </div>
           
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2020, Stanislav Pidhorskyi

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>